package com.inossem.warehousestorage_inossem.bean.changeStorage.chuangyou;

import java.util.List;

/**
 * TODO
 *
 * @author 王斯宇
 * @time on 2018/4/3 10:03
 * @email siyu.wang@inossem.com
 */
public class CYChangeStorageConfirmRequestBean {

    /**
     * stock_transport_id : 1
     * location_id : 17
     * remark : 转储测试
     * item_list : [{"purchase_order_code":"23333333","supplier_code":"0020006275","supplier_name":"内蒙古双达机电设备有限公司","stock_position_list":[{"stock_position_id":"1","stock_qty":"0.97","transport_qty":"20"},{"stock_position_id":"2","stock_qty":"0.97","transport_qty":"10"}]}]
     */

    private String stock_transport_id;
    private String location_id;
    private List<ItemListBean> item_list;

    public String getStock_transport_id() {
        return stock_transport_id;
    }

    public void setStock_transport_id(String stock_transport_id) {
        this.stock_transport_id = stock_transport_id;
    }

    public String getLocation_id() {
        return location_id;
    }

    public void setLocation_id(String location_id) {
        this.location_id = location_id;
    }

    public List<ItemListBean> getItem_list() {
        return item_list;
    }

    public void setItem_list(List<ItemListBean> item_list) {
        this.item_list = item_list;
    }

    public static class ItemListBean {
        /**
         * purchase_order_code : 23333333
         * supplier_code : 0020006275
         * supplier_name : 内蒙古双达机电设备有限公司
         * stock_position_list : [{"stock_position_id":"1","stock_qty":"0.97","transport_qty":"20"},{"stock_position_id":"2","stock_qty":"0.97","transport_qty":"10"}]
         */

        private String purchase_order_code;
        private String supplier_code;
        private String supplier_name;
        private String order_qty;
        private String mat_id;
        private String unit_id;
        private List<StockPositionListBean> stock_position_list;

        public String getMat_id() {
            return mat_id;
        }

        public void setMat_id(String mat_id) {
            this.mat_id = mat_id;
        }

        public String getUnit_id() {
            return unit_id;
        }

        public void setUnit_id(String unit_id) {
            this.unit_id = unit_id;
        }

        public String getOrder_qty() {
            return order_qty;
        }

        public void setOrder_qty(String order_qty) {
            this.order_qty = order_qty;
        }

        public String getPurchase_order_code() {
            return purchase_order_code;
        }

        public void setPurchase_order_code(String purchase_order_code) {
            this.purchase_order_code = purchase_order_code;
        }

        public String getSupplier_code() {
            return supplier_code;
        }

        public void setSupplier_code(String supplier_code) {
            this.supplier_code = supplier_code;
        }

        public String getSupplier_name() {
            return supplier_name;
        }

        public void setSupplier_name(String supplier_name) {
            this.supplier_name = supplier_name;
        }

        public List<StockPositionListBean> getStock_position_list() {
            return stock_position_list;
        }

        public void setStock_position_list(List<StockPositionListBean> stock_position_list) {
            this.stock_position_list = stock_position_list;
        }

        public static class StockPositionListBean {
            /**
             * stock_position_id : 1
             * stock_qty : 0.97
             * transport_qty : 20
             */

            private String stock_id;
            private String stock_qty;
            private String transport_qty;

            public String getStock_id() {
                return stock_id;
            }

            public void setStock_id(String stock_id) {
                this.stock_id = stock_id;
            }

            public String getStock_qty() {
                return stock_qty;
            }

            public void setStock_qty(String stock_qty) {
                this.stock_qty = stock_qty;
            }

            public String getTransport_qty() {
                return transport_qty;
            }

            public void setTransport_qty(String transport_qty) {
                this.transport_qty = transport_qty;
            }
        }
    }
}
